//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package top.toptimus.dto.sfExpress;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class OrderReqCargoDetail {
    private BigDecimal amount;//价格
    private String name;//名称
    private String unit;//单位
    private BigDecimal count;//数量
    private BigDecimal volume;//体积
    private BigDecimal weight;//重量

    /**
     *价格和数量传进来 其他都固定
     * @param amount 价格
     * @param count 数量
     */
    public OrderReqCargoDetail(BigDecimal amount,BigDecimal count){
        this.amount=amount;
        this.count=count;
        this.name="顺秋服装";
        this.unit="件";
        this.volume=new BigDecimal(1);
        this.weight=new BigDecimal(1);
    }
}
